package com.bjsxt;

public class ConcreteCommand implements Command {

	/**
	 * 命令的真正的执行者
	 */
	private Receiver receiver;

	public ConcreteCommand(Receiver receiver) {
		super();
		this.receiver = receiver;
	}

	@Override
	public void execute() {
		// 执行前后可以做其他处理
		receiver.action();
	}

}
